package com.vsoontech.audiorecorder;

/**
 * @author nelson
 * @since 2020-08-04
 */
public class NativeAudioRecorder {

    static {
        System.loadLibrary("native-lib");
    }

    public static native int initAudioRecorder();

    public static native byte[] read();

    public static native PcmData readPcmData();

    public static native void releaseAudioRecorder();
}
